package mvc.Model;

import java.io.Serializable;

/**
 *
 * @author The
 */
public class Employee implements Serializable {
    
    private String name;
    private String middleName;
    private String lastName;
    private Department department;
    private String phoneNumber;
    private String pay;
            
     public Employee()
     {
         this.name =null;
         this.middleName=null;
         this.lastName = null;
         this.department =null;
         this.phoneNumber = null;
         this.pay = null;
     }

    public Employee (String name, String middleName, String lastname, Department dep, String phone, String pay)
    {
        this.name = name;
        this.middleName = middleName;
        this.lastName = lastname;
        this.department = dep;
        this.phoneNumber = phone;
        this.pay = pay;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public void setSurname(String surname) {
        this.middleName = surname;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public void setDepartment(Department department) {
        this.department = department;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public void setPay(String pay) {
        this.pay = pay;
    }

    public String getName() {
        return name;
    }

    public String getSurname() {
        return middleName;
    }

    public String getLastName() {
        return lastName;
    }

    public Department getDepartment() {
        return department;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public String getPay() {
        return pay;
    }
    
    
    
}
